package net.maku.needy.convert;

import net.maku.needy.entity.NeedyMemberEntity;
import net.maku.needy.vo.NeedyMemberVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 困难职工
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-19
*/
@Mapper
public interface NeedyMemberConvert {
    NeedyMemberConvert INSTANCE = Mappers.getMapper(NeedyMemberConvert.class);

    NeedyMemberEntity convert(NeedyMemberVO vo);

    NeedyMemberVO convert(NeedyMemberEntity entity);

    List<NeedyMemberVO> convertList(List<NeedyMemberEntity> list);

}